﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace BankOrder
{
    public partial class MainPanel : Form
    {
        public MainPanel()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageNum messageNum = new MessageNum();
            messageNum.setMode(1);
            messageNum.setNum(1);
            messageNum.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            MessageNum messageNum = new MessageNum();
            messageNum.setMode(2);
            messageNum.setNum(2);
            messageNum.Show();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            MessageNum messageNum = new MessageNum();
            messageNum.setMode(3);
            messageNum.setNum(3);
            messageNum.Show();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            MessageNum messageNum = new MessageNum();
            messageNum.setMode(4);
            messageNum.setNum(4);
            messageNum.Show();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            MessageNum messageNum = new MessageNum();
            messageNum.setMode(5);
            messageNum.setNum(5);
            messageNum.Show();
        }
    }
}
